cd Figure_1
Rscript Figure_1.R

cd ../Figure_2
/Applications/Stata/StataIC.app/Contents/MacOS/StataIC -e do Figure_2.do

cd ../Appendix_Figures
Rscript Appendix_Figures.R

cd ../Tables
unzip IO_SWY_PANEL_01.dta.zip
echo "unzip is complete"
echo "start generating regression tables ..."
echo "this could take a while ..."
/Applications/Stata/StataIC.app/Contents/MacOS/StataIC -e do Tables.do
cd ..
